<?php


namespace app\builder;


abstract class BirdBuilder
{
    protected Bird $bird;

    public function __construct()
    {
        $this->bird = new Bird();
    }

    abstract public function setHead();

    abstract public function setWing();

    abstract public function setFoot();

    public function getBird(): Bird
    {
        return $this->bird;
    }
}